package com.leo.erp.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

@TableName("tb_depot_head")
public class DepotHead {
	@TableId(value = "depotHeadId", type = IdType.AUTO)
	private int depotHeadId;
	
	@TableField("type")
	private String type;//类型(出库/入库)
	
	@TableField("subType")
	private String subType;//出入库分类
	
	@TableField("defaultNumber")
	private String defaultNumber;//初始票据号
	
	@TableField("number")
	private String number;//票据号
	
	@TableField("operPersonName")
	private String operPersonName;//操作员名字
	
	@TableField("createTime")
	private Date createTime;//创建时间
	
	@TableField("operTime")
	private Date operTime;//出入库时间
	
	@TableField("organId")
	private int organId;//供应商Id
	
	@TableField("handsPersonId")
	private int handsPersonId;//采购/领料-经手人Id
	
	@TableField("accountId")
	private int accountId;//账户Id
	
	@TableField("changeAmount")
	private double changeAmount;//变动金额(收款/付款)
	
	@TableField("totalPrice")
	private double totalPrice;//合计金额
	
	@TableField("payType")
	private String payType;//付款类型(现金、记账等)
	
	@TableField("remark")
	private String remark;//备注
	
	@TableField("salesMan")
	private String salesMan;//业务员（可以多个）
	
	@TableField("accountIdList")
	private String accountIdList;//多账户ID列表
	
	@TableField("accountMoneyList")
	private String accountMoneyList;//多账户金额列表
	
	@TableField("discount")
	private double discount;//优惠率
	
	@TableField("discountMoney")
	private double discountMoney;//优惠金额
	
	@TableField("discountLastMoney")
	private double discountLastMoney;//优惠后金额
	
	@TableField("otherMoney")
	private double otherMoney;//销售或采购费用合计
	
	@TableField("otherMoneyList")
	private String otherMoneyList;//销售或采购费用涉及项目Id数组（包括快递、招待等）
	
	@TableField("otherMoneyItem")
	private String otherMoneyItem;//销售或采购费用涉及项目（包括快递、招待等）
	
	@TableField("accountDay")
	private int accountDay;//结算天数
	
	@TableField("status")
	private String status;//状态，0未审核、1已审核、2已转采购|销售
	
	@TableField("linkNumber")
	private String linkNumber;//关联订单号
	
	@TableField("tenantId")
	private int tenantId;//租户id
	
	@TableField("deleteFlag")
	private String deleteFlag;//删除标记，0未删除，1删除
	
	//查询条件
	@TableField(exist = false)
	private String beginTime;
	@TableField(exist = false)
	private String endTime;
	@TableField(exist = false)
	private String materialParam;
	@TableField(exist = false)
	private String depotIds;
	@TableField(exist = false)
	private int offset;
	@TableField(exist = false)
	private int rows;

	public int getDepotHeadId() {
		return depotHeadId;
	}

	public void setDepotHeadId(int depotHeadId) {
		this.depotHeadId = depotHeadId;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type == null ? null : type.trim();
	}

	public String getSubType() {
		return subType;
	}

	public void setSubType(String subType) {
		this.subType = subType == null ? null : subType.trim();
	}

	public String getDefaultNumber() {
		return defaultNumber;
	}

	public void setDefaultNumber(String defaultNumber) {
		this.defaultNumber = defaultNumber == null ? null : defaultNumber.trim();
	}

	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number == null ? null : number.trim();
	}

	public String getOperPersonName() {
		return operPersonName;
	}

	public void setOperPersonName(String operPersonName) {
		this.operPersonName = operPersonName == null ? null : operPersonName.trim();
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getOperTime() {
		return operTime;
	}

	public void setOperTime(Date operTime) {
		this.operTime = operTime;
	}

	public int getOrganId() {
		return organId;
	}

	public void setOrganId(int organId) {
		this.organId = organId;
	}

	public int getHandsPersonId() {
		return handsPersonId;
	}

	public void setHandsPersonId(int handsPersonId) {
		this.handsPersonId = handsPersonId;
	}

	public int getAccountId() {
		return accountId;
	}

	public void setAccountId(int accountId) {
		this.accountId = accountId;
	}

	public double getChangeAmount() {
		return changeAmount;
	}

	public void setChangeAmount(double changeAmount) {
		this.changeAmount = changeAmount;
	}

	public double getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(double totalPrice) {
		this.totalPrice = totalPrice;
	}

	public String getPayType() {
		return payType;
	}

	public void setPayType(String payType) {
		this.payType = payType == null ? null : payType.trim();
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}

	public String getSalesMan() {
		return salesMan;
	}

	public void setSalesMan(String salesMan) {
		this.salesMan = salesMan == null ? null : salesMan.trim();
	}

	public String getAccountIdList() {
		return accountIdList;
	}

	public void setAccountIdList(String accountIdList) {
		this.accountIdList = accountIdList == null ? null : accountIdList.trim();
	}

	public String getAccountMoneyList() {
		return accountMoneyList;
	}

	public void setAccountMoneyList(String accountMoneyList) {
		this.accountMoneyList = accountMoneyList == null ? null : accountMoneyList.trim();
	}

	public double getDiscount() {
		return discount;
	}

	public void setDiscount(double discount) {
		this.discount = discount;
	}

	public double getDiscountMoney() {
		return discountMoney;
	}

	public void setDiscountMoney(double discountMoney) {
		this.discountMoney = discountMoney;
	}

	public double getDiscountLastMoney() {
		return discountLastMoney;
	}

	public void setDiscountLastMoney(double discountLastMoney) {
		this.discountLastMoney = discountLastMoney;
	}

	public double getOtherMoney() {
		return otherMoney;
	}

	public void setOtherMoney(double otherMoney) {
		this.otherMoney = otherMoney;
	}

	public String getOtherMoneyList() {
		return otherMoneyList;
	}

	public void setOtherMoneyList(String otherMoneyList) {
		this.otherMoneyList = otherMoneyList == null ? null : otherMoneyList.trim();
	}

	public String getOtherMoneyItem() {
		return otherMoneyItem;
	}

	public void setOtherMoneyItem(String otherMoneyItem) {
		this.otherMoneyItem = otherMoneyItem == null ? null : otherMoneyItem.trim();
	}

	public int getAccountDay() {
		return accountDay;
	}

	public void setAccountDay(int accountDay) {
		this.accountDay = accountDay;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status == null ? null : status.trim();
	}

	public String getLinkNumber() {
		return linkNumber;
	}

	public void setLinkNumber(String linkNumber) {
		this.linkNumber = linkNumber == null ? null : linkNumber.trim();
	}

	public int getTenantId() {
		return tenantId;
	}

	public void setTenantId(int tenantId) {
		this.tenantId = tenantId;
	}

	public String getDeleteFlag() {
		return deleteFlag;
	}

	public void setDeleteFlag(String deleteFlag) {
		this.deleteFlag = deleteFlag == null ? null : deleteFlag.trim();
	}

	public String getBeginTime() {
		return beginTime;
	}

	public void setBeginTime(String beginTime) {
		this.beginTime = beginTime;
	}

	public String getEndTime() {
		return endTime;
	}

	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}

	public String getMaterialParam() {
		return materialParam;
	}

	public void setMaterialParam(String materialParam) {
		this.materialParam = materialParam;
	}

	public String getDepotIds() {
		return depotIds;
	}

	public void setDepotIds(String depotIds) {
		this.depotIds = depotIds;
	}

	public int getOffset() {
		return offset;
	}

	public void setOffset(int offset) {
		this.offset = offset;
	}

	public int getRows() {
		return rows;
	}

	public void setRows(int rows) {
		this.rows = rows;
	}
	
	
}
